package com.cuixichang.minimalism.basal.core;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

@ApiModel(value = "基础请求封装对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class BaseRequest implements Serializable {

    /**
     * 启用状态【0:弃用;1:启用(默认)】
     * @see com.cuixichang.minimalism.basal.enums.IsEnableEnum
     */
    @ApiModelProperty(value = "启用状态【0:弃用;1:启用(默认)】", name = "isEnable")
    private Boolean isEnable;

    /**
     * 数据排序
     */
    @ApiModelProperty(value = "数据排序", name = "sort")
    private Integer sort;
}
